package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;


/**
 * <p>
 * ${table.comment}
 * </p>
 *
 * 弃用此类 是因为完全可以使用automenu类替代此功能，并提升效率
 * @author Umakr-Code-Generator
 * @since 2018-01-02
 */
@TableName("rd_menu_button")
@SuppressWarnings("serial")
public class MenuButton extends BaseModel {

	/**/
	//amId

    /**
     * 菜单标题
     */
	private String name;
    /**
     * 菜单类型(跳转网页)(0: url)
     */
	private Integer type;
    /**
     * 菜单操作内容
     */
	private String content;
    /**
     * 菜单父id
     */
	private Long pid;
    /**
     * 菜单根id
     */
	private Long rid;
    /**
     * 所属菜单组
     */
	@TableField("group_id")
	private Long groupId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("update_time")
	private Date updateTime;


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public Long getRid() {
		return rid;
	}

	public void setRid(Long rid) {
		this.rid = rid;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}